package com.webside.rtypemapping.service;

import java.util.List;
import java.util.Map;

import com.webside.rtypemapping.model.RTypeMapping;
import com.webside.subject.model.SubjectEntity;

public interface RTypeMappingService {
	
	//增
	int insertRTypeMapping(RTypeMapping rTypeMapping);
	
	//删 id
	int deleteRTypeMappingById(Integer id);
	
	//删（通过source_type_name）
	int deleteRTypeMappingBySourceTypeName(String sourceTypeName);
	
	//改
	int updateRTypeMappingByCondition(Map<String,Object> map);
	
	//查(所有条件)
	List<RTypeMapping> selectRTypeMappingByCondition(Map<String,Object> map);

	List<RTypeMapping> queryListByPage(Map<String, Object> parameters);

	int updateRTypeMapping(RTypeMapping retype);
	//删除
	int deleteBatchById(List<Long> list);
}
